@echo off
echo ==============================================
echo 工业机器人控制系统Windows开发环境设置
echo ==============================================

echo 安装 Chocolatey 包管理器...
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"

echo 安装开发工具...
choco install -y cmake git visualstudio2022buildtools

echo 安装MSYS2环境...
choco install -y msys2

echo ==============================================
echo 开发环境设置完成！
echo 请手动安装以下组件：
echo 1. MSYS2中的开发工具包
echo 2. Eigen3 库
echo 3. yaml-cpp 库
echo ==============================================
pause